package chatserver.model;

import java.util.HashMap;
import java.util.Map;

public class ClientConnectionManager {
	
	Map<String, ClientConnection> clientMap;
	
	public ClientConnectionManager() {
		clientMap = new HashMap<>();
	}
	
	public boolean add(String account,ClientConnection clientConnection) {
		clientMap.put(account, clientConnection);
		return true;
	}
	
	public boolean remove(String account) {
		clientMap.remove(account);
		return true;
	}
}
